package com.blabla.request;

import com.blabla.enums.CalculationType;
import lombok.Data;

/**
 * @author yzw
 * @date 2022/1/15 10:49
 * @desc 计算请求体
 */
@Data
public class CalculationRequest {
    /**
     * 第一个数字
     */
    private Integer firstNum;

    /**
     * 第二个数
     */
    private Integer secondNum;

    /**
     * 操作方式
     * @see CalculationType
     */
    private String option;

    public Integer getFirstNum() {
        return firstNum;
    }

    public void setFirstNum(Integer firstNum) {
        this.firstNum = firstNum;
    }

    public Integer getSecondNum() {
        return secondNum;
    }

    public void setSecondNum(Integer secondNum) {
        this.secondNum = secondNum;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }
}
